397b76990dd51239200b968b32be439c410d9e5c,test/edu/umass/cs/gnsclient/client/singletests/ReadTest.java,ReadTest,test_01_CreateEntity,#,76
Before Change
@Test
public void test_01_CreateEntity() {
try {
client.guidCreate(masterGuid, "testGUID" + RandomString.randomString(6));
} catch (Exception e) {
fail("Exception when we were not expecting it: " + e);
}
After Change
@Test
public void test_01_CreateEntity() {
try {
GuidEntry testGuid = clientCommands.guidCreate(masterGuid, "testGUID" + RandomString.randomString(6));
try {
clientCommands.guidRemove(masterGuid, testGuid.getGuid());
} catch (ClientException | IOException e) {
Utils.failWithStackTrace("Exception while removing guids: " + e);
}